﻿@model KeyValuePair<string, string>
@{
    ViewBag.Title = "Change User Password";
}
<h2>
    Change User Password</h2>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>EmailTemplate</legend>
        <div class="editor-label">
            UserName : 
        </div>
        <div class="editor-field">
            @Model.Key
       
        </div>
        <div class="editor-label">
           Password : 
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Value)
            @Html.ValidationMessageFor(model => model.Value)
        </div>
        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("Back to List", "Index")
</div>
